package com.beamfield.dao.sys;


import com.beamfield.model.Medical;
import com.beamfield.model.MedicalExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface MedicalMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Medical record);

    int insertSelective(Medical record);

    List<Medical> selectByExample(MedicalExample example);

    Medical selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Medical record, @Param("example") MedicalExample example);

    int updateByExample(@Param("record") Medical record, @Param("example") MedicalExample example);

    int updateByPrimaryKeySelective(Medical record);

    int updateByPrimaryKey(Medical record);

    int updateBeamIdByEcode(@Param("ecode") String ecode, @Param("beamId") String acBemaId);
}